package com.camp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 营地用户对象 c_user
 * 
 * @author ruoyi
 * @date 2024-10-08
 */
public class CUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private String userId;

    /** 微信id */
    @Excel(name = "微信id")
    private String openid;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 头像 */
    @Excel(name = "头像")
    private String img;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("openid", getOpenid())
            .append("username", getUsername())
            .append("img", getImg())
            .append("phone", getPhone())
            .append("password", getPassword())
            .toString();
    }
}
